The HTTP API > The HTTP API > MMHttp.clearTemp()

 

MMHttp.clearTemp()

Description

Deletes all files in the Configuration/Temp folder inside the Dreamweaver application folder.

Arguments

None.

Returns

Nothing.

Example

The following code, when saved in a file inside the Configuration/Shutdown folder, removes all files from the Configuration/Temp folder when the user quits Dreamweaver:

<html>
<head>
<title>Clean Up Temp Files on Shutdown</title>
</head>
<body onLoad="MMHttp.clearTemp()">
</body>
</html>